import { Controller } from 'egg';
export default class MenusController extends Controller {
  public async index() { //获取菜单
    const { ctx } = this; 
    const data =  await ctx.service.api.menus.menus(ctx.query);
    ctx.body=data;
    ctx.status=200;
  }
}
